package com.yyq.adms.yyb.advance.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.yyq.sos.pojo.BaseEntity;

/**
 * 科学技术 奖励申报
 * 
 * @author 杨应滨
 * @Dec 7, 2012
 * 
 */
@Entity
@Table(name = "stapply")
public class STApply extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 项目名称
	 */
	private String projectName;

	/**
	 * 申报单位
	 */
	private String department;

	/**
	 * 项目完成人
	 */
	private String projectFinishName;

	/**
	 * 申报等级
	 */
	private String applyLevel;

	/**
	 * 申报时间
	 */
	private Date applyDate;

	/**
	 * 评审机构
	 */
	private String judgeCorporation;

	/**
	 * 评审阶段
	 */
	private String judgeState;

	/**
	 * 所属平台ID
	 */
	private String belongPlateFormID;

	/**
	 * 报送单位
	 */
	private String sentDep;

	
	/**
	 * 所属年份，不需要加入数据库
	 */
	private String belongYear;
	/**
	 * 编制申报材料
	 */
	private String editmaterial;
	/**
	 * 申报单位审核
	 */
	private String unitaudit;
	/**
	 * 公司审核
	 */
	private String companyaudit;
	/**
	 * 签字盖章
	 */
	private String seal;
	/**
	 * 报审
	 */
	private String submission;
	/**
	 * 公示
	 */
	private String publicity;
	/**
	 * 正式发文
	 */
	private String officialdocument;
	/**
	 * 表彰
	 */
	private String commend;

	/**
	 * 批注
	 */
	private String endorse;
	
	
	/**
	 * 单位名称
	 */
	private String sentDepName;
	
	public STApply() {
		super();
	}

	

	public STApply(String projectName, String department,
			String projectFinishName, String applyLevel, Date applyDate,
			String judgeCorporation, String judgeState,
			String belongPlateFormID, String sentDep,
			String belongYear, String editmaterial, String unitaudit,
			String companyaudit, String seal, String submission,
			String publicity, String officialdocument, String commend) {
		this.projectName = projectName;
		this.department = department;
		this.projectFinishName = projectFinishName;
		this.applyLevel = applyLevel;
		this.applyDate = applyDate;
		this.judgeCorporation = judgeCorporation;
		this.judgeState = judgeState;
		this.belongPlateFormID = belongPlateFormID;
		this.sentDep = sentDep;
		this.belongYear = belongYear;
		this.editmaterial = editmaterial;
		this.unitaudit = unitaudit;
		this.companyaudit = companyaudit;
		this.seal = seal;
		this.submission = submission;
		this.publicity = publicity;
		this.officialdocument = officialdocument;
		this.commend = commend;
	}



	@Column(name = "applydate")
	public Date getApplyDate() {
		return applyDate;
	}

	@Column(name = "applylevel")
	public String getApplyLevel() {
		return applyLevel;
	}

	@Column(name = "belongplateformid")
	public String getBelongPlateFormID() {
		return belongPlateFormID;
	}

	@Transient
	public String getBelongYear() {
		return belongYear;
	}

	@Column(name = "department")
	public String getDepartment() {
		return department;
	}


	@Column(name = "judgecorporation")
	public String getJudgeCorporation() {
		return judgeCorporation;
	}

	@Column(name = "judgestate")
	public String getJudgeState() {
		return judgeState;
	}

	@Column(name = "projectfinishname")
	public String getProjectFinishName() {
		return projectFinishName;
	}

	@Column(name = "projectname")
	public String getProjectName() {
		return projectName;
	}

	

	@Transient
	public String getSentDep() {
		return sentDep;
	}



	public void setSentDep(String sentDep) {
		this.sentDep = sentDep;
	}



	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public void setApplyLevel(String applyLevel) {
		this.applyLevel = applyLevel;
	}

	public void setBelongPlateFormID(String belongPlateFormID) {
		this.belongPlateFormID = belongPlateFormID;
	}

	public void setBelongYear(String belongYear) {
		this.belongYear = belongYear;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	
	public void setJudgeCorporation(String judgeCorporation) {
		this.judgeCorporation = judgeCorporation;
	}

	public void setJudgeState(String judgeState) {
		this.judgeState = judgeState;
	}


	public void setProjectFinishName(String projectFinishName) {
		this.projectFinishName = projectFinishName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}



	@Column(name = "editmaterial")
	public String getEditmaterial() {
		return editmaterial;
	}

	public void setEditmaterial(String editmaterial) {
		this.editmaterial = editmaterial;
	}

	@Column(name = "unitaudit")
	public String getUnitaudit() {
		return unitaudit;
	}

	public void setUnitaudit(String unitaudit) {
		this.unitaudit = unitaudit;
	}

	@Column(name = "companyaudit")
	public String getCompanyaudit() {
		return companyaudit;
	}

	public void setCompanyaudit(String companyaudit) {
		this.companyaudit = companyaudit;
	}

	@Column(name = "seal")
	public String getSeal() {
		return seal;
	}

	public void setSeal(String seal) {
		this.seal = seal;
	}

	@Column(name = "submission")
	public String getSubmission() {
		return submission;
	}

	public void setSubmission(String submission) {
		this.submission = submission;
	}

	@Column(name = "publicity")
	public String getPublicity() {
		return publicity;
	}

	public void setPublicity(String publicity) {
		this.publicity = publicity;
	}

	@Column(name = "officialdocument")
	public String getOfficialdocument() {
		return officialdocument;
	}

	public void setOfficialdocument(String officialdocument) {
		this.officialdocument = officialdocument;
	}

	@Column(name = "commend")
	public String getCommend() {
		return commend;
	}

	public void setCommend(String commend) {
		this.commend = commend;
	}

	@Column(name="endorse")
	public String getEndorse() {
		return endorse;
	}

	public void setEndorse(String endorse) {
		this.endorse = endorse;
	}

	@Column(name="sentdepname")
	public String getSentDepName() {
		return sentDepName;
	}

	public void setSentDepName(String sentDepName) {
		this.sentDepName = sentDepName;
	}
	
}
